package com.sc.service;

import com.github.pagehelper.PageInfo;
import com.sc.pojo.Class;

import java.util.List;

public interface ClassService {
    public PageInfo<Class> show(Integer pageNum, Integer pageSize,String keyword);
    public int add(Class c);
    public int del(Integer id);
    public int upd(Class c);
    public int delAll(Integer[] ids);
    public List<Class> queryAll();
    public Class queryById(Integer id);
    public Class queryByTid(Integer tid);
}
